package StudyCode.summary.mycollection;

import java.util.ArrayList;
import java.util.Collections;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class FindMinimumElementOfArrayList {
	public static void main(String[] args) {
		ArrayList arrayList = new ArrayList();

		arrayList.add(new Integer("327482"));
		arrayList.add(new Integer("13408"));
		arrayList.add(new Integer("802348"));
		arrayList.add(new Integer("345308"));
		arrayList.add(new Integer("509324"));

		Object obj = Collections.min(arrayList);

		System.out.println("ArrayList的最小元素是: " + obj);
	}
}
